﻿using System;

namespace Bookvar.ServiceModel
{
    internal static class Contract
    {
        public static void RequiresNotNull( object value, string paramName )
        {
            Assert.NotNull( paramName );
            if ( value == null )
            {
                throw new ArgumentNullException( paramName );
            }
        }
    }
}